#ifndef _BENCHAMX_LIBAMX_H__
#define _BENCHAMX_LIBAMX_H__

struct TileConfig
{
	uint8_t  palette_id;
	uint8_t  start_row;
	uint8_t  reserved_0[14];

	uint16_t colsb[8];

	uint16_t reserved_1[8];

	uint8_t  rows[8];

	uint8_t  reserved_2[8];
};

void amx_matmul(void* cfg, void *a, void *b, void *c);
void amx_storecfg(void* cfg);
void amx_tilezero(void);
void amx_matmul_benchmark(void *cfg, int64_t loop);

#if 0
void amx_loadconfig (const void *__config)
{
    __asm__ volatile ("sttilecfg\t%X0" :: "m" (*((const void **)__config)));
}
#endif

#endif

